package org.jeecg.modules.scheduling.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@Data
public class EmployeeSchedule implements Serializable {
    private String name;
    private String workNumber;
    private Map<String, Shift> schedule = new HashMap<>();

    public void addShift(String date, Shift shift) {
        this.schedule.put(date, shift);
    }
}
